<template>
  <h2 ref="title2">你好</h2>
  <button @click="showLow">打印title2</button>
  <Person ref="ren"></Person>
</template>

<script setup lang="ts" name="App">
  import Person from './components/Person.vue'

  import {ref} from 'vue'
  let title2 = ref()
  let ren = ref()
  function showLow(){
    console.log(ren.value)
  }
</script>

<style>

</style>